package org.gauth4me.core;

/***
 * Represents an OTP generator.
 * <p/>
 * OTP stands for one-time password.
 */
public interface Otp {
  /**
   * Generates next OTP code.
   *
   * @return next one-time password that is appropriate for current time, counter value, Moon phase,
   *         or whatever this OTP generator synchronization depends on
   */
  String getNextCode();
}
